/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86186
 * Date: 2023-07-13
 * Time: 10:14
 */
public class Main {
    public static void main(String[] args) {
        /*int[] array = {9,8,7,6,5};
        PriorityQueue priorityQueue = new PriorityQueue(array);
        priorityQueue.createHeap();
        priorityQueue.push(4);
        priorityQueue.push(3);
        priorityQueue.push(2);
        priorityQueue.push(1);*/

        Integer var1 = new Integer(1);
        Integer var2 = var1;
        doSomething(var2);
        System.out.print(var1.intValue());
        System.out.print(var1 == var2);
    }


    public static void doSomething(Integer integer) {
        integer = new Integer(2);
    }
}